<?php

namespace common\model;

use think\model\RelationModel;

class ProjectNodeReportModel extends RelationModel
{
    //上报类型：1=日报 2=周报
    const REPORT_TYPE_DAY = 1;
    const REPORT_TYPE_WEEK = 2;

    // 自动完成
    protected $_auto = [
        ['created_by', 'fill_created_by', self::MODEL_INSERT, 'function'],
        ['created', 'time', self::MODEL_INSERT, 'function'],
    ];

}
